package com.azzcs;

/**
 * @Author: wzg
 * @Date: 2021/1/7 上午10:08
 */
public class Bootstrap {
    private Catalina catalinaDaemon;

    public static void main(String[] args) throws Exception {
        Bootstrap bootstrap = new Bootstrap();
        bootstrap.init();
        bootstrap.load();
        bootstrap.start();
    }

    private void load() throws Exception {
        catalinaDaemon.load();
    }

    private void start() {
        catalinaDaemon.start();
    }

    private void init() {
        catalinaDaemon = new Catalina();
    }
}
